package cn.com.netedge.iot.frontend.biz.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MasterSingleOperationController {
    private static final Logger LOGGER = LoggerFactory.getLogger(MasterSingleOperationController.class);

    @PostMapping("/meter/handler")
    public String singleMeterHandling(@RequestBody String content) {
        LOGGER.info(content);
        return "OK";
    }
}
